package cn.edu.scau.cmi.houzhicong.abstractFactoryPattern.domain;

import cn.edu.scau.cmi.houzhicong.abstractFactoryPattern.domain.brand.PingAnBrand;
import cn.edu.scau.cmi.houzhicong.abstractFactoryPattern.domain.insuranceType.CarDamage;
import javafx.scene.image.Image;

public class PingAnCarDamage extends Insurance implements PingAnBrand, CarDamage {

    public PingAnCarDamage(String name, String stuNum, Image image) {
        super(name, stuNum, image);
    }

    @Override
    public String getDesc() {
        return brand+"公司的"+type+"保险";
    }
}
